package factory.abstractFactory;import factory.abstractFactory.Ingedient.*;import factory.abstractFactory.NYIngedient.*;/** * Created by Administrator on 2018-10-22. * 纽约原料工厂 */public class NYPizzaIngedientFactory implements PizzaIngredientFactory {    public Dough createDough() {        return new ThinCrustDough();    }    public Sauce cracteSauce() {        return new MarinaraSauce();    }    public Cheese createCheese() {        return new ReggianoCheese();    }    public Veggies createVeggies() {        return new NYVeggies();    }    public Pepperoni createPepperoni() {        return new SlicedPepperoni();    }    public Clams createClams() {        return new FreshClams();    }}